home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-03-06 | 4.6 KB | [TEXT/ttxt] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Mar 6 09:31:06 2000, modified Mon Mar 6 09:31:06 2000, creator SimpleText, type ASCII, 3468 bytes "LPreferences Manual" , at 0xe0c 992 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 4c 50 72 65 66 65 | 72 65 6e 63 65 73 20 4d |..LPrefe|rences M|
|00000010| 61 6e 75 61 6c 00 00 00 | 00 00 00 00 00 00 00 00 |anual...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 00 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 0d 8c 00 | 00 03 e0 b4 e9 71 aa b4 |........|.....q..|
|00000060| e9 71 aa 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.q......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ca eb 00 00 |........|........|
|00000080| 49 6e 73 74 72 75 63 74 | 69 6f 6e 73 3a 0d 0d 31 |Instruct|ions:..1|
|00000090| 29 20 41 64 64 20 74 68 | 65 20 4c 50 72 65 66 65 |) Add th|e LPrefe|
|000000a0| 72 65 6e 63 65 73 2e 63 | 70 20 74 6f 20 79 6f 75 |rences.c|p to you|
|000000b0| 72 20 70 72 6f 6a 65 63 | 74 0d 0d 32 29 20 41 74 |r projec|t..2) At|
|000000c0| 20 74 68 69 73 20 70 6f | 69 6e 74 20 79 6f 75 20 | this po|int you |
|000000d0| 63 61 6e 20 65 69 74 68 | 65 72 20 6c 65 61 72 6e |can eith|er learn|
|000000e0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 61 6c 69 | the fun|ctionali|
|000000f0| 74 79 20 6f 66 20 74 68 | 65 20 4c 50 72 65 66 65 |ty of th|e LPrefe|
|00000100| 72 65 6e 63 65 73 20 63 | 6c 61 73 73 2c 20 6f 72 |rences c|lass, or|
|00000110| 20 75 73 65 20 74 68 65 | 20 54 50 72 65 66 65 72 | use the| TPrefer|
|00000120| 65 6e 63 65 73 20 74 65 | 6d 70 6c 61 74 65 20 66 |ences te|mplate f|
|00000130| 6f 72 20 74 68 65 20 62 | 65 73 74 20 72 65 73 75 |or the b|est resu|
|00000140| 6c 74 73 2e 20 54 68 69 | 73 20 73 65 63 6f 6e 64 |lts. Thi|s second|
|00000150| 20 63 61 73 65 20 69 73 | 20 69 6d 70 6c 65 6d 65 | case is| impleme|
|00000160| 6e 74 65 64 20 61 73 20 | 74 68 65 20 66 6f 6c 6c |nted as |the foll|
|00000170| 6f 77 69 6e 67 3a 0d 0d | 43 68 6f 6f 73 65 20 61 |owing:..|Choose a|
|00000180| 20 68 65 61 64 65 72 20 | 66 69 6c 65 20 74 68 61 | header |file tha|
|00000190| 74 20 73 65 65 6d 73 20 | 6d 6f 73 74 20 61 70 70 |t seems |most app|
|000001a0| 72 6f 70 72 69 61 74 65 | 20 74 6f 20 79 6f 75 20 |ropriate| to you |
|000001b0| 74 6f 20 64 65 66 69 6e | 65 20 61 20 70 72 65 66 |to defin|e a pref|
|000001c0| 65 72 65 6e 63 65 73 20 | 63 6c 61 73 73 20 28 77 |erences |class (w|
|000001d0| 68 69 63 68 20 77 69 6c | 6c 20 68 6f 6c 64 20 79 |hich wil|l hold y|
|000001e0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|000001f0| 70 72 65 66 65 72 65 6e | 63 65 73 2e 0d 0d 49 6e |preferen|ces...In|
|00000200| 20 79 6f 75 72 20 68 65 | 61 64 65 72 3a 0d 0d 23 | your he|ader:..#|
|00000210| 69 6e 63 6c 75 64 65 20 | 22 4c 50 72 65 66 65 72 |include |"LPrefer|
|00000220| 65 6e 63 65 73 2e 68 22 | 0d 0d 23 70 72 61 67 6d |ences.h"|..#pragm|
|00000230| 61 20 6f 70 74 69 6f 6e | 73 20 61 6c 69 67 6e 3d |a option|s align=|
|00000240| 6d 61 63 36 38 6b 20 20 | 20 20 20 20 20 20 20 20 |mac68k | |
|00000250| 2f 2f 20 45 6e 63 6c 6f | 73 65 20 79 6f 75 72 20 |// Enclo|se your |
|00000260| 63 6c 61 73 73 20 62 65 | 74 77 65 65 6e 20 74 68 |class be|tween th|
|00000270| 65 73 65 20 70 72 61 67 | 6d 61 0d 20 20 20 20 20 |ese prag|ma. |
|00000280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002a0| 20 2f 2f 20 73 74 61 74 | 65 6d 65 6e 74 73 20 74 | // stat|ements t|
|000002b0| 6f 20 72 65 61 64 20 74 | 68 65 20 73 61 6d 65 20 |o read t|he same |
|000002c0| 66 69 6c 65 20 6f 6e 20 | 62 6f 74 68 0d 20 20 20 |file on |both. |
|000002d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 20 20 2f 2f 20 36 38 | 4b 20 61 6e 64 20 50 6f | // 68|K and Po|
|00000300| 77 65 72 50 43 20 76 65 | 72 73 69 6f 6e 73 20 6f |werPC ve|rsions o|
|00000310| 66 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 0d 63 |f your p|rogram.c|
|00000320| 6c 61 73 73 20 4d 79 50 | 72 65 66 65 72 65 6e 63 |lass MyP|referenc|
|00000330| 65 73 0d 7b 0d 70 75 62 | 6c 69 63 3a 0d 09 0d 09 |es.{.pub|lic:....|
|00000340| 09 09 09 4d 79 50 72 65 | 66 65 72 65 6e 63 65 73 |...MyPre|ferences|
|00000350| 20 28 29 0d 09 09 09 09 | 7b 0d 09 09 09 09 09 09 | ().....|{.......|
|00000360| 09 09 6d 49 41 6d 53 6d | 61 72 74 41 6e 64 46 72 |..mIAmSm|artAndFr|
|00000370| 69 65 6e 64 6c 79 20 3d | 20 74 72 75 65 3b 09 09 |iendly =| true;..|
|00000380| 2f 2f 20 54 68 69 73 20 | 69 73 20 76 65 72 79 20 |// This |is very |
|00000390| 69 6d 70 6f 72 74 61 6e | 74 21 20 49 6e 69 74 69 |importan|t! Initi|
|000003a0| 61 6c 69 7a 65 20 74 68 | 65 20 70 72 65 66 73 0d |alize th|e prefs.|
|000003b0| 09 09 09 09 09 09 09 09 | 6d 44 69 64 6e 74 54 68 |........|mDidntTh|
|000003c0| 69 6e 6b 53 6f 20 3d 20 | 74 72 75 65 3b 09 09 09 |inkSo = |true;...|
|000003d0| 09 09 09 09 09 09 2f 2f | 20 74 6f 20 74 68 65 20 |......//| to the |
|000003e0| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 73 20 74 |default |values t|
|000003f0| 68 61 74 20 79 6f 75 20 | 77 61 6e 74 20 6f 72 20 |hat you |want or |
|00000400| 79 6f 75 27 6c 6c 0d 09 | 09 09 09 7d 20 20 20 20 |you'll..|...} |
|00000410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 20 | | // |
|00000430| 66 69 6e 64 20 67 61 72 | 62 61 67 65 20 61 73 20 |find gar|bage as |
|00000440| 79 6f 75 72 20 66 69 72 | 73 74 20 73 65 74 74 69 |your fir|st setti|
|00000450| 6e 67 73 0d 0d 20 20 20 | 20 62 6f 6f 6c 09 6d 49 |ngs.. | bool.mI|
|00000460| 41 6d 53 6d 61 72 74 41 | 6e 64 46 72 69 65 6e 64 |AmSmartA|ndFriend|
|00000470| 6c 79 3b 0d 20 20 20 20 | 62 6f 6f 6c 09 6d 44 69 |ly;. |bool.mDi|
|00000480| 64 6e 74 54 68 69 6e 6b | 53 6f 3b 0d 7d 3b 0d 0d |dntThink|So;.};..|
|00000490| 23 70 72 61 67 6d 61 20 | 6f 70 74 69 6f 6e 73 20 |#pragma |options |
|000004a0| 61 6c 69 67 6e 3d 72 65 | 73 65 74 20 20 20 20 20 |align=re|set |
|000004b0| 20 20 20 20 20 20 2f 2f | 20 49 6d 70 6f 72 74 61 | //| Importa|
|000004c0| 6e 74 21 21 21 20 52 65 | 73 65 74 20 74 68 65 20 |nt!!! Re|set the |
|000004d0| 61 6c 69 67 6e 6d 65 6e | 74 20 6f 70 74 69 6f 6e |alignmen|t option|
|000004e0| 73 0d 0d 65 78 74 65 72 | 6e 20 54 50 72 65 66 65 |s..exter|n TPrefe|
|000004f0| 72 65 6e 63 65 73 3c 4d | 79 50 72 65 66 65 72 65 |rences<M|yPrefere|
|00000500| 6e 63 65 73 3e 20 67 50 | 72 65 66 65 72 65 6e 63 |nces> gP|referenc|
|00000510| 65 73 46 69 6c 65 3b 20 | 20 20 20 2f 2f 20 54 68 |esFile; | // Th|
|00000520| 69 73 20 6f 6e 65 20 69 | 73 20 6f 70 74 69 6f 6e |is one i|s option|
|00000530| 61 6c 2e 20 59 6f 75 0d | 20 20 20 20 20 20 20 20 |al. You.| |
|00000540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000570| 2f 2f 20 6e 65 65 64 20 | 69 74 20 6f 6e 6c 79 20 |// need |it only |
|00000580| 74 6f 20 61 63 63 65 73 | 73 20 74 68 65 0d 20 20 |to acces|s the. |
|00000590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005c0| 20 20 20 20 20 20 2f 2f | 20 4c 42 72 6f 61 64 63 | //| LBroadc|
|000005d0| 61 73 74 65 72 20 61 6e | 64 20 4c 46 69 6c 65 20 |aster an|d LFile |
|000005e0| 66 65 61 74 75 72 65 73 | 0d 65 78 74 65 72 6e 20 |features|.extern |
|000005f0| 4d 79 50 72 65 66 65 72 | 65 6e 63 65 73 20 20 20 |MyPrefer|ences |
|00000600| 20 20 20 20 20 20 20 20 | 20 20 20 20 26 67 50 72 | | &gPr|
|00000610| 65 66 65 72 65 6e 63 65 | 73 3b 0d 0d 49 6e 20 79 |eference|s;..In y|
|00000620| 6f 75 72 20 73 6f 75 72 | 63 65 20 66 69 6c 65 3a |our sour|ce file:|
|00000630| 0d 0d 54 50 72 65 66 65 | 72 65 6e 63 65 73 3c 4d |..TPrefe|rences<M|
|00000640| 79 50 72 65 66 65 72 65 | 6e 63 65 73 3e 20 67 50 |yPrefere|nces> gP|
|00000650| 72 65 66 65 72 65 6e 63 | 65 73 46 69 6c 65 28 0d |referenc|esFile(.|
|00000660| 20 20 20 20 22 5c 70 4d | 79 50 72 65 66 65 72 65 | "\pM|yPrefere|
|00000670| 6e 63 65 73 20 46 69 6c | 65 22 2c 0d 20 20 20 20 |nces Fil|e",. |
|00000680| 22 5c 70 4d 79 50 72 65 | 66 65 72 65 6e 63 65 73 |"\pMyPre|ferences|
|00000690| 20 46 6f 6c 64 65 72 22 | 2c 0d 20 20 20 20 55 73 | Folder"|,. Us|
|000006a0| 65 46 6f 6c 64 65 72 5f | 59 65 73 29 3b 0d 0d 4d |eFolder_|Yes);..M|
|000006b0| 79 50 72 65 66 65 72 65 | 6e 63 65 73 20 20 20 20 |yPrefere|nces |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 26 67 50 72 65 | | &gPre|
|000006d0| 66 65 72 65 6e 63 65 73 | 20 3d 20 67 50 72 65 66 |ferences| = gPref|
|000006e0| 65 72 65 6e 63 65 73 46 | 69 6c 65 2e 6d 44 61 74 |erencesF|ile.mDat|
|000006f0| 61 3b 0d 0d 54 6f 20 61 | 63 63 65 73 73 20 70 72 |a;..To a|ccess pr|
|00000700| 65 66 65 72 65 6e 63 65 | 73 3a 0d 0d 67 50 72 65 |eference|s:..gPre|
|00000710| 66 65 72 65 6e 63 65 73 | 2e 6d 49 41 6d 53 6d 61 |ferences|.mIAmSma|
|00000720| 72 74 41 6e 64 46 72 69 | 65 6e 64 6c 79 0d 67 50 |rtAndFri|endly.gP|
|00000730| 72 65 66 65 72 65 6e 63 | 65 73 2e 6d 44 69 64 6e |referenc|es.mDidn|
|00000740| 74 54 68 69 6e 6b 53 6f | 0d 0d 2f 2f 20 45 71 75 |tThinkSo|..// Equ|
|00000750| 69 76 61 6c 65 6e 74 20 | 74 6f 3a 0d 2f 2f 20 67 |ivalent |to:.// g|
|00000760| 50 72 65 66 65 72 65 6e | 63 65 73 46 69 6c 65 2e |Preferen|cesFile.|
|00000770| 6d 44 61 74 61 2e 6d 49 | 41 6d 53 6d 61 72 74 41 |mData.mI|AmSmartA|
|00000780| 6e 64 46 72 69 65 6e 64 | 6c 79 0d 2f 2f 20 67 50 |ndFriend|ly.// gP|
|00000790| 72 65 66 65 72 65 6e 63 | 65 73 46 69 6c 65 2e 6d |referenc|esFile.m|
|000007a0| 44 61 74 61 2e 6d 44 69 | 64 6e 74 54 68 69 6e 6b |Data.mDi|dntThink|
|000007b0| 53 6f 0d 0d 56 65 72 73 | 69 6f 6e 20 48 69 73 74 |So..Vers|ion Hist|
|000007c0| 6f 72 79 0d a5 20 33 2f | 31 33 2f 39 39 20 2d 20 |ory.. 3/|13/99 - |
|000007d0| 4c 50 72 65 66 65 72 65 | 6e 63 65 73 20 6e 6f 20 |LPrefere|nces no |
|000007e0| 6c 6f 6e 67 65 72 20 64 | 65 72 69 76 65 73 20 66 |longer d|erives f|
|000007f0| 72 6f 6d 20 4c 42 72 6f | 61 64 63 61 73 74 65 72 |rom LBro|adcaster|
|00000800| 2e 20 49 6e 73 74 65 61 | 64 2c 20 74 68 65 20 54 |. Instea|d, the T|
|00000810| 50 72 65 66 65 72 65 6e | 63 65 73 20 63 6c 61 73 |Preferen|ces clas|
|00000820| 73 20 69 73 20 6e 6f 77 | 20 61 20 4c 42 72 6f 61 |s is now| a LBroa|
|00000830| 64 63 61 73 74 65 72 2e | 20 54 68 69 73 20 73 69 |dcaster.| This si|
|00000840| 6d 70 6c 69 66 69 65 73 | 20 74 68 65 20 75 6e 64 |mplifies| the und|
|00000850| 65 72 73 74 61 6e 64 69 | 6e 67 20 6f 66 20 77 68 |erstandi|ng of wh|
|00000860| 65 6e 20 74 68 65 20 74 | 77 6f 20 6d 65 73 73 61 |en the t|wo messa|
|00000870| 67 65 73 20 28 6d 73 67 | 5f 50 72 65 66 65 72 65 |ges (msg|_Prefere|
|00000880| 6e 63 65 73 52 65 61 64 | 20 61 6e 64 20 6d 73 67 |ncesRead| and msg|
|00000890| 5f 50 72 65 66 65 72 65 | 6e 63 65 73 57 72 69 74 |_Prefere|ncesWrit|
|000008a0| 74 65 6e 29 20 61 72 65 | 20 62 72 6f 61 64 63 61 |ten) are| broadca|
|000008b0| 73 74 65 64 20 62 79 20 | 74 68 65 20 54 50 72 65 |sted by |the TPre|
|000008c0| 66 65 72 65 6e 63 65 73 | 20 6f 62 6a 65 63 74 73 |ferences| objects|
|000008d0| 20 79 6f 75 20 63 72 65 | 61 74 65 2e 20 4f 66 20 | you cre|ate. Of |
|000008e0| 63 6f 75 72 73 65 20 69 | 73 20 69 74 20 73 74 69 |course i|s it sti|
|000008f0| 6c 6c 20 75 70 20 74 6f | 20 79 6f 75 20 74 6f 20 |ll up to| you to |
|00000900| 62 72 6f 61 64 63 61 73 | 74 20 6d 73 67 5f 50 72 |broadcas|t msg_Pr|
|00000910| 65 66 65 72 65 6e 63 65 | 73 43 68 61 6e 67 65 64 |eference|sChanged|
|00000920| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 64 79 6e 61 | to supp|ort dyna|
|00000930| 6d 69 63 20 63 68 61 6e | 67 69 6e 67 20 6f 66 20 |mic chan|ging of |
|00000940| 67 6c 6f 62 61 6c 20 70 | 72 65 66 65 72 65 6e 63 |global p|referenc|
|00000950| 65 73 2e 0d 0d 53 70 65 | 63 69 61 6c 20 43 6f 6e |es...Spe|cial Con|
|00000960| 73 69 64 65 72 61 74 69 | 6f 6e 73 0d 50 6c 65 61 |siderati|ons.Plea|
|00000970| 73 65 20 6e 6f 74 65 20 | 74 68 61 74 20 74 68 65 |se note |that the|
|00000980| 20 77 61 79 20 79 6f 75 | 20 63 6f 6e 73 74 72 75 | way you| constru|
|00000990| 63 74 20 79 6f 75 72 20 | 74 65 6d 70 6c 61 74 65 |ct your |template|
|000009a0| 20 64 65 70 65 6e 64 73 | 20 65 6e 74 69 72 65 6c | depends| entirel|
|000009b0| 79 20 6f 6e 20 79 6f 75 | 2e 20 42 79 20 64 65 66 |y on you|. By def|
|000009c0| 61 75 6c 74 20 74 68 65 | 20 63 6f 6e 73 74 72 75 |ault the| constru|
|000009d0| 63 74 6f 72 20 68 61 73 | 20 76 61 6c 75 65 73 20 |ctor has| values |
|000009e0| 66 6f 72 20 61 6c 6c 20 | 69 74 73 20 70 61 72 61 |for all |its para|
|000009f0| 6d 65 74 65 72 73 2e 20 | 46 6f 72 20 65 78 61 6d |meters. |For exam|
|00000a00| 70 6c 65 2c 20 69 66 20 | 79 6f 75 20 6c 65 61 76 |ple, if |you leav|
|00000a10| 65 20 61 6c 6c 20 74 68 | 65 20 70 61 72 61 6d 65 |e all th|e parame|
|00000a20| 74 65 72 73 20 65 6d 70 | 74 79 2c 20 61 73 20 69 |ters emp|ty, as i|
|00000a30| 6e 3a 0d 0d 54 50 72 65 | 66 65 72 65 6e 63 65 73 |n:..TPre|ferences|
|00000a40| 3c 4d 79 50 72 65 66 65 | 72 65 6e 63 65 73 3e 20 |<MyPrefe|rences> |
|00000a50| 67 50 72 65 66 65 72 65 | 6e 63 65 73 3b 0d 0d 74 |gPrefere|nces;..t|
|00000a60| 68 65 6e 20 74 68 65 20 | 4c 50 72 65 66 65 72 65 |hen the |LPrefere|
|00000a70| 6e 63 65 73 20 63 6c 61 | 73 73 20 77 69 6c 6c 20 |nces cla|ss will |
|00000a80| 64 6f 20 69 74 73 20 62 | 65 73 74 20 74 6f 20 63 |do its b|est to c|
|00000a90| 6f 6d 65 20 75 70 20 77 | 69 74 68 20 61 20 6e 61 |ome up w|ith a na|
|00000aa0| 6d 65 20 66 6f 72 20 79 | 6f 75 72 20 70 72 65 66 |me for y|our pref|
|00000ab0| 65 72 65 6e 63 65 73 20 | 66 69 6c 65 2c 20 61 6e |erences |file, an|
|00000ac0| 64 20 69 74 20 77 69 6c | 6c 20 6e 6f 74 20 6e 65 |d it wil|l not ne|
|00000ad0| 73 74 20 69 74 20 69 6e | 73 69 64 65 20 61 20 66 |st it in|side a f|
|00000ae0| 6f 6c 64 65 72 2e 20 50 | 6c 65 61 73 65 20 74 61 |older. P|lease ta|
|00000af0| 6b 65 20 61 20 6c 6f 6f | 6b 20 61 74 20 74 68 65 |ke a loo|k at the|
|00000b00| 20 63 6f 6e 73 74 72 75 | 63 74 6f 72 20 66 6f 72 | constru|ctor for|
|00000b10| 20 4c 50 72 65 66 65 72 | 65 6e 63 65 73 20 74 6f | LPrefer|ences to|
|00000b20| 20 66 75 72 74 68 65 72 | 20 75 6e 64 65 72 73 74 | further| underst|
|00000b30| 61 6e 64 20 79 6f 75 72 | 20 6f 70 74 69 6f 6e 73 |and your| options|
|00000b40| 20 28 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 | (the na|me of th|
|00000b50| 65 20 70 61 72 61 6d 65 | 74 65 72 73 20 73 68 6f |e parame|ters sho|
|00000b60| 75 6c 64 20 62 65 20 73 | 65 6c 66 20 65 78 70 6c |uld be s|elf expl|
|00000b70| 61 6e 61 74 6f 72 79 29 | 2e 0d 0d 57 68 79 20 64 |anatory)|...Why d|
|00000b80| 6f 65 73 20 54 50 72 65 | 66 65 72 65 6e 63 65 73 |oes TPre|ferences|
|00000b90| 20 64 65 72 69 76 65 20 | 66 72 6f 6d 20 4c 42 72 | derive |from LBr|
|00000ba0| 6f 61 64 63 61 73 74 65 | 72 3f 0d 54 68 65 20 63 |oadcaste|r?.The c|
|00000bb0| 75 72 72 65 6e 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |urrent i|mplement|
|00000bc0| 61 74 69 6f 6e 20 6f 66 | 20 54 50 72 65 66 65 72 |ation of| TPrefer|
|00000bd0| 65 6e 63 65 73 20 64 65 | 72 69 76 65 73 20 66 72 |ences de|rives fr|
|00000be0| 6f 6d 20 4c 42 72 6f 61 | 64 63 61 73 74 65 72 20 |om LBroa|dcaster |
|00000bf0| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 6e 6f 74 69 |in order| to noti|
|00000c00| 66 79 20 61 6c 6c 20 6f | 66 20 69 74 73 20 65 76 |fy all o|f its ev|
|00000c10| 65 6e 74 75 61 6c 20 6c | 69 73 74 65 6e 65 72 73 |entual l|isteners|
|00000c20| 20 61 62 6f 75 74 20 74 | 68 65 20 73 74 61 74 75 | about t|he statu|
|00000c30| 73 20 6f 66 20 67 6c 6f | 62 61 6c 20 61 70 70 6c |s of glo|bal appl|
|00000c40| 69 63 61 74 69 6f 6e 20 | 70 72 65 66 65 72 65 6e |ication |preferen|
|00000c50| 63 65 73 2e 20 54 68 65 | 20 54 50 72 65 66 65 72 |ces. The| TPrefer|
|00000c60| 65 6e 63 65 73 20 63 6c | 61 73 73 20 61 75 74 6f |ences cl|ass auto|
|00000c70| 6d 61 74 69 63 61 6c 6c | 79 20 62 72 6f 61 64 63 |maticall|y broadc|
|00000c80| 61 73 74 73 20 6d 73 67 | 5f 50 72 65 66 65 72 65 |asts msg|_Prefere|
|00000c90| 6e 63 65 73 52 65 61 64 | 20 61 6e 64 20 6d 73 67 |ncesRead| and msg|
|00000ca0| 5f 50 72 65 66 65 72 65 | 6e 63 65 73 57 72 69 74 |_Prefere|ncesWrit|
|00000cb0| 74 65 6e 20 77 68 65 6e | 20 74 68 65 20 70 72 65 |ten when| the pre|
|00000cc0| 66 65 72 65 6e 63 65 73 | 20 61 72 65 20 72 65 61 |ferences| are rea|
|00000cd0| 64 20 66 72 6f 6d 20 6f | 72 20 77 72 69 74 74 65 |d from o|r writte|
|00000ce0| 6e 20 74 6f 20 64 69 73 | 6b 2c 20 72 65 73 70 65 |n to dis|k, respe|
|00000cf0| 63 74 69 76 65 6c 79 2e | 20 49 74 20 69 73 20 74 |ctively.| It is t|
|00000d00| 68 65 6e 20 70 6f 73 73 | 69 62 6c 65 20 28 61 6e |hen poss|ible (an|
|00000d10| 64 20 73 74 72 6f 6e 67 | 6c 79 20 72 65 63 6f 6d |d strong|ly recom|
|00000d20| 6d 65 6e 64 65 64 29 20 | 74 6f 20 68 61 76 65 20 |mended) |to have |
|00000d30| 79 6f 75 72 20 70 72 65 | 66 65 72 65 6e 63 65 73 |your pre|ferences|
|00000d40| 20 63 6c 61 73 73 20 62 | 72 6f 61 64 63 61 73 74 | class b|roadcast|
|00000d50| 20 6d 73 67 5f 50 72 65 | 66 65 72 65 6e 63 65 73 | msg_Pre|ferences|
|00000d60| 43 68 61 6e 67 65 64 20 | 28 6f 72 20 61 6e 79 20 |Changed |(or any |
|00000d70| 6f 74 68 65 72 20 63 6f | 6e 73 74 61 6e 74 20 79 |other co|nstant y|
|00000d80| 6f 75 20 6d 69 67 68 74 | 20 73 74 61 6e 64 61 72 |ou might| standar|
|00000d90| 64 69 7a 65 20 75 70 6f | 6e 29 20 77 68 65 6e 65 |dize upo|n) whene|
|00000da0| 76 65 72 20 74 68 65 20 | 70 72 65 66 65 72 65 6e |ver the |preferen|
|00000db0| 63 65 73 20 68 61 76 65 | 20 62 65 65 6e 20 63 68 |ces have| been ch|
|00000dc0| 61 6e 67 65 64 20 61 6e | 64 20 79 6f 75 20 77 61 |anged an|d you wa|
|00000dd0| 6e 74 20 6f 74 68 65 72 | 20 6f 62 6a 65 63 74 73 |nt other| objects|
|00000de0| 20 28 55 49 29 20 74 6f | 20 72 65 73 70 6f 6e 64 | (UI) to| respond|
|00000df0| 20 64 79 6e 61 6d 69 63 | 61 6c 6c 79 20 74 6f 20 | dynamic|ally to |
|00000e00| 74 68 65 20 63 68 61 6e | 67 65 2e 0d 00 00 00 00 |the chan|ge......|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 01 00 00 00 03 ae | 00 00 02 ae 00 00 00 32 |........|.......2|
|00000e90| 27 4d 47 26 42 2b 21 55 | 60 25 51 4e 55 4a 6b 30 |'MG&B+!U|`%QNUJk0|
|00000ea0| 46 31 66 4c 53 4b 44 41 | 45 24 46 35 0a 2b 25 64 |F1fLSKDA|E$F5.+%d|
|00000eb0| 22 30 5a 61 6c 70 24 24 | c9 42 00 00 00 01 00 04 |"0Zalp$$|.B......|
|00000ec0| 00 00 00 1f 00 00 00 29 | 00 00 00 1d 00 00 00 1c |.......)|........|
|00000ed0| 38 62 55 46 5a 46 24 48 | 6a 52 4c 40 45 21 6a 53 |8bUFZF$H|jRL@E!jS|
|00000ee0| cc 81 00 00 00 01 00 01 | 00 00 09 68 00 00 00 01 |........|...h....|
|00000ef0| 33 68 2c 39 59 66 43 65 | 4d 55 30 2a 60 29 2b 39 |3h,9YfCe|MU0*`)+9|
|00000f00| 38 38 4c 6c 46 43 52 66 | 29 25 5a 71 29 32 26 4c |88LlFCRf|)%Zq)2&L|
|00000f10| 2b 36 69 42 41 2a 60 54 | 35 6b 69 58 31 5a 5a 72 |+6iBA*`T|5kiX1ZZr|
|00000f20| 23 4a 40 61 60 54 63 58 | 35 59 4d 53 6a 21 0a 21 |#J@a`TcX|5YMSj!.!|
|00000f30| 48 4b 34 28 4e 21 23 48 | 32 2b 63 47 25 22 34 51 |HK4(N!#H|2+cG%"4Q|
|00000f40| 38 51 24 52 61 31 54 4a | 4c 62 4e 35 63 60 39 71 |8Q$Ra1TJ|LbN5c`9q|
|00000f50| 2b 38 29 54 51 69 48 65 | 21 4e 29 21 2b 32 60 47 |+8)TQiHe|!N)!+2`G|
|00000f60| 35 6a 55 34 4e 6c 42 31 | 2d 39 2c 33 4a 2c 45 0a |5jU4NlB1|-9,3J,E.|
|00000f70| 53 44 38 65 54 24 55 68 | 43 27 65 25 4d 62 43 4e |SD8eT$Uh|C'e%MbCN|
|00000f80| 00 00 02 aa 00 22 00 00 | 00 00 00 10 00 0c 07 d2 |....."..|........|
|00000f90| 00 00 00 0c 00 00 00 00 | 00 00 00 00 00 0d 00 0d |........|........|
|00000fa0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 0f 00 0d 00 0a 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 10 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 3b 00 0d 00 0a 00 03 |........|.;......|
|00000fe0| 01 00 00 0a 00 00 00 00 | 00 00 00 00 00 3c 00 0d |........|.....<..|
|00000ff0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 01 7e 00 10 00 0c 07 d2 | 00 00 00 0c 00 00 00 00 |.~......|........|
|00001010| 00 00 00 00 01 8c 00 0d | 00 0a 00 03 00 00 00 0a |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 01 8f 00 0c 00 09 00 16 |........|........|
|00001030| 00 00 00 0a 00 00 00 00 | 00 00 00 00 05 9c 00 10 |........|........|
|00001040| 00 0c 07 d2 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 05 af 00 0d 00 0a 00 03 | 01 00 00 0a 00 00 00 00 |........|........|
|00001060| 00 00 00 00 05 b1 00 0c | 00 09 00 16 00 00 00 0a |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 06 74 00 10 00 0c 07 d2 |........|.t......|
|00001080| 00 00 00 0c 00 00 00 00 | 00 00 00 00 06 89 00 0d |........|........|
|00001090| 00 0a 00 03 01 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 06 8a 00 0c 00 09 00 16 | 00 00 00 0a 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 07 34 00 10 | 00 0c 07 d2 00 00 00 0c |.....4..|........|
|000010c0| 00 00 00 00 00 00 00 00 | 07 43 00 0c 00 09 00 16 |........|.C......|
|000010d0| 00 00 00 0a 00 00 00 00 | 00 00 00 00 07 44 00 0d |........|.....D..|
|000010e0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 08 d3 00 0c 00 09 00 16 | 00 00 00 0a 00 00 00 00 |........|........|
|00001100| 00 00 00 00 08 d5 00 10 | 00 0c 07 d2 00 00 00 0c |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 08 eb 00 0d 00 0a 00 03 |........|........|
|00001120| 00 00 00 0a 00 00 00 00 | 00 00 00 00 09 b4 00 0c |........|........|
|00001130| 00 09 00 16 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 09 dd 00 0d 00 0a 00 03 | 00 00 00 0a 00 00 00 00 |........|........|
|00001150| 00 00 00 00 0a 4a 00 0d | 00 0a 00 03 04 00 00 0a |.....J..|........|
|00001160| 00 00 00 00 00 00 00 00 | 0a 4d 00 0d 00 0a 00 03 |........|.M......|
|00001170| 00 00 00 0a 00 00 00 00 | 00 00 00 00 0a f9 00 0c |........|........|
|00001180| 00 09 00 16 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 0a fb 00 10 00 0c 07 d2 | 00 00 00 0c 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 0b 2a 00 0d | 00 0a 00 03 00 00 00 0a |.....*..|........|
|000011b0| 00 00 00 00 00 00 00 00 | 0c 05 00 0d 00 0a 00 03 |........|........|
|000011c0| 04 00 00 0a 00 00 00 00 | 00 00 00 00 0c 18 00 0d |........|........|
|000011d0| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 0c 1d 00 0d 00 0a 00 03 | 04 00 00 0a 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 0c 33 00 0d | 00 0a 00 03 00 00 00 0a |.....3..|........|
|00001200| 00 00 00 00 00 00 00 00 | 0c d1 00 0d 00 0a 00 03 |........|........|
|00001210| 04 00 00 0a 00 00 00 00 | 00 00 00 00 0c e7 00 0d |........|........|
|00001220| 00 0a 00 03 00 00 00 0a | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 01 00 00 00 03 ae 00 00 | 02 ae 00 00 00 32 06 01 |........|.....2..|
|00001240| 7d d8 05 66 00 00 00 1c | 00 32 00 00 73 74 79 6c |}..f....|.2..styl|
|00001250| 00 00 00 0a 00 80 ff ff | 00 00 00 00 06 01 e8 80 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+